
package io.zhifei.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * <p> socket配置类</p>
 *
 * @author： WangPeng <br/>
 * @date： 2020/10/23 16:26 <br/>
 * @version： <br/>
 */

@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();

    }
}
